package com.atguigu.principle.singleresponsibility.aggregation;

/**
 * @Author: yangtao
 * @Description:
 */
public class Computer {
    //鼠标可以和computer分离
    private Mouse mouse;
    //显示器可以和Computer
    private Moniter moniter;


    // public Mouse getMouse() {
    //     return mouse;
    // }

    public void setMouse(Mouse mouse) {
        this.mouse = mouse;
    }

    // public Moniter getMoniter() {
    //     return moniter;
    // }

    public void setMoniter(Moniter moniter) {
        this.moniter = moniter;
    }
}
